using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using Cryptography;


namespace Controller
{
    class CryptoHelper
    {
        public CryptoHelper() { }

        private static String key = "BrunoCovas";
        private static String iv = "Lopes";
        public static string Encrypt(string data)
        {
            Cryptography.Cryption Cryption = new Cryptography.Cryption(key, iv);
            return Cryption.Encrypt(data);
        }

        public static string Decrypt(string data)
        {
            Cryptography.Cryption Cryption = new Cryptography.Cryption(key, iv);
            return Cryption.Decrypt(data);
        }

    }
}